package com.cql.pojo;



import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;


@ToString
public class User implements Serializable {
        private Integer uid;
        private String uusername;
        private String upassword;
        private String uemail;
        private Integer ustate;
        private String ucreateBy;
        private String uupdateBy;
        private LocalDateTime ucreateTime;
        private LocalDateTime uupdateTime;

        public User(Integer uid, String uusername, String upassword, String uemail, Integer ustate, String ucreateBy, String uupdateBy, LocalDateTime ucreateTime, LocalDateTime uupdateTime) {
                this.uid = uid;
                this.uusername = uusername;
                this.upassword = upassword;
                this.uemail = uemail;
                this.ustate = ustate;
                this.ucreateBy = ucreateBy;
                this.uupdateBy = uupdateBy;
                this.ucreateTime = ucreateTime;
                this.uupdateTime = uupdateTime;
        }

        public User() {
        }

        public Integer getUid() {
                return uid;
        }

        public void setUid(Integer uid) {
                this.uid = uid;
        }

        public String getUusername() {
                return uusername;
        }

        public void setUusername(String uusername) {
                this.uusername = uusername;
        }

        public String getUpassword() {
                return upassword;
        }

        public void setUpassword(String upassword) {
                this.upassword = upassword;
        }

        public String getUemail() {
                return uemail;
        }

        public void setUemail(String uemail) {
                this.uemail = uemail;
        }

        public Integer getUstate() {
                return ustate;
        }

        public void setUstate(Integer ustate) {
                this.ustate = ustate;
        }

        public String getUcreateBy() {
                return ucreateBy;
        }

        public void setUcreateBy(String ucreateBy) {
                this.ucreateBy = ucreateBy;
        }

        public String getUupdateBy() {
                return uupdateBy;
        }

        public void setUupdateBy(String uupdateBy) {
                this.uupdateBy = uupdateBy;
        }

        public LocalDateTime getUcreateTime() {
                return ucreateTime;
        }

        public void setUcreateTime(LocalDateTime ucreateTime) {
                this.ucreateTime = ucreateTime;
        }

        public LocalDateTime getUupdateTime() {
                return uupdateTime;
        }

        public void setUupdateTime(LocalDateTime uupdateTime) {
                this.uupdateTime = uupdateTime;
        }

//        @Override
//        public String toString() {
//                return "User{" +
//                        "uid=" + uid +
//                        ", uusername='" + uusername + '\'' +
//                        ", upassword='" + upassword + '\'' +
//                        ", uemail='" + uemail + '\'' +
//                        ", ustate=" + ustate +
//                        ", ucreateBy='" + ucreateBy + '\'' +
//                        ", uupdateBy='" + uupdateBy + '\'' +
//                        ", ucreateTime=" + ucreateTime +
//                        ", uupdateTime=" + uupdateTime +
//                        '}';
//        }
}
